package com.xianzhiOA.bean;/**
 * Created by Administrator on 2017/5/5.
 */

import com.xianzhiOA.service.XzModuleService;
import com.xianzhiOA.valid.ValidById;

import java.util.Date;
import java.util.List;

/**
 * 模块
 *
 * @author 甘汝雷
 * @create 2017-05-05 14:56
 **/
public class XzModule {
    private Long moduleId;
    @ValidById(serviceClazz = XzModuleService.class,message = "模块名称不能重复",methodName = "selectByModuleName")
    private String moduleName;
    private int modulePlan;
    private int moduleActual;
    private Long moduleEmp;
    private Long moduleProject;
    private String field1;
    private String field2;
    private String field3;
    private Date deleteTime;
    private int isdelete;
    private Date createTime;
    private Date moduleTime;
    private Date moduleBeginTime;
    private String moduleTimeBegin;
    private String moduleTimeEnd;
    private XzProject project;
    private List<XzStage> stageList;
    private List stageList1;
    private XzEmp emp;
    private String projectName;
    private String empName;

    public Date getModuleBeginTime() {
        return moduleBeginTime;
    }

    public void setModuleBeginTime(Date moduleBeginTime) {
        this.moduleBeginTime = moduleBeginTime;
    }

    public List getStageList1() {
        return stageList1;
    }

    public void setStageList1(List stageList1) {
        this.stageList1 = stageList1;
    }

    public List<XzStage> getStageList() {
        return stageList;
    }

    public void setStageList(List<XzStage> stageList) {
        this.stageList = stageList;
    }

    public String getModuleTimeBegin() {
        return moduleTimeBegin;
    }

    public void setModuleTimeBegin(String moduleTimeBegin) {
        this.moduleTimeBegin = moduleTimeBegin;
    }

    public String getModuleTimeEnd() {
        return moduleTimeEnd;
    }

    public void setModuleTimeEnd(String moduleTimeEnd) {
        this.moduleTimeEnd = moduleTimeEnd;
    }

    public Date getModuleTime() {
        return moduleTime;
    }

    public void setModuleTime(Date moduleTime) {
        this.moduleTime = moduleTime;
    }

    public XzEmp getEmp() {
        return emp;
    }

    public void setEmp(XzEmp emp) {
        this.emp = emp;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public XzProject getProject() {
        return project;
    }

    public void setProject(XzProject project) {
        this.project = project;
    }

    public Long getModuleProject() {
        return moduleProject;
    }

    public void setModuleProject(Long moduleProject) {
        this.moduleProject = moduleProject;
    }

    public Long getModuleId() {
        return moduleId;
    }

    public void setModuleId(Long moduleId) {
        this.moduleId = moduleId;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public int getModulePlan() {
        return modulePlan;
    }

    public void setModulePlan(int modulePlan) {
        this.modulePlan = modulePlan;
    }

    public int getModuleActual() {
        return moduleActual;
    }

    public void setModuleActual(int moduleActual) {
        this.moduleActual = moduleActual;
    }

    public Long getModuleEmp() {
        return moduleEmp;
    }

    public void setModuleEmp(Long moduleEmp) {
        this.moduleEmp = moduleEmp;
    }

    public String getField1() {
        return field1;
    }

    public void setField1(String field1) {
        this.field1 = field1;
    }

    public String getField2() {
        return field2;
    }

    public void setField2(String field2) {
        this.field2 = field2;
    }

    public String getField3() {
        return field3;
    }

    public void setField3(String field3) {
        this.field3 = field3;
    }

    public Date getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    public int getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(int isdelete) {
        this.isdelete = isdelete;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "XzModule{" +
                "moduleId=" + moduleId +
                ", moduleName='" + moduleName + '\'' +
                ", modulePlan='" + modulePlan + '\'' +
                ", moduleActual='" + moduleActual + '\'' +
                ", moduleEmp=" + moduleEmp +
                ", moduleProject=" + moduleProject +
                ", field1='" + field1 + '\'' +
                ", field2='" + field2 + '\'' +
                ", field3='" + field3 + '\'' +
                ", deleteTime=" + deleteTime +
                ", isdelete=" + isdelete +
                ", createTime=" + createTime +
                ", moduleTime=" + moduleTime +
                ", moduleTimeBegin='" + moduleTimeBegin + '\'' +
                ", moduleTimeEnd='" + moduleTimeEnd + '\'' +
                ", project=" + project +
                ", stageList=" + stageList +
                ", stageList1=" + stageList1 +
                ", emp=" + emp +
                ", projectName='" + projectName + '\'' +
                ", empName='" + empName + '\'' +
                '}';
    }
}
